<template>
  <div class="content_box">
    <div class="lanmu_box">
      <div class="box">
        <van-tabs v-model="active" @change="tabChange">
          <van-tab :title="item.name" v-for="(item,index) in lanmu" :key="index"></van-tab>
        </van-tabs>
      </div>
    </div>
    <div class="list_box">
      <div class="box">
        <div class="top">
          <p class="name">账户提现</p>
          <p class="status">提现成功</p>
        </div>
        <div class="top code">
          <p class="name">提现单号</p>
          <p class="price">5142687951354</p>
        </div>
        <div class="bottom">
          <p class="time">2023-01-02 15:30:50</p>
          <p class="price"><span>500</span> 元</p>
        </div>
      </div>
      <div class="box">
        <div class="top">
          <p class="name">账户提现</p>
          <p class="status on">申请中</p>
        </div>
        <div class="top code">
          <p class="name">提现单号</p>
          <p class="price">5142687951354</p>
        </div>
        <div class="bottom">
          <p class="time">2023-01-02 15:30:50</p>
          <p class="price"><span class="on">500</span> 元</p>
        </div>
      </div>
      <div class="box">
        <div class="top">
          <p class="name">账户提现</p>
          <p class="status err">提现失败</p>
        </div>
        <div class="top code">
          <p class="name">提现单号</p>
          <p class="price">5142687951354</p>
        </div>
        <div class="bottom">
          <p class="time">2023-01-02 15:30:50</p>
          <p class="price"><span>500</span> 元</p>
        </div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  components: {
  },
  data() {
    return{
      lanmu:[
       {name:'全部',query:''},
       {name:'提现中',query:1},
       {name:'提现成功',query:1},
       {name:'提现失败',query:1},
     ],
    }
  },
  onShow() {
 
  },
  methods: {
    
  },
  onHide() {},
  onLoad() {
    
  },
  onUnload() {
  },
  created() {}
};
</script>

<style lang="scss"  scoped>
.content_box {
  padding-top:30rpx;
  min-height: 100vh;
  background: #f5f5f5;
  .lanmu_box{
    height: 88rpx;
    .box{
      position: fixed;
      top:0;
      width: 100%;
      z-index: 100;
      background: #fff;
    }
    /deep/ .van-tab{
      color:#999;
      font-size:30rpx;
    }
    /deep/ .van-tabs__line{
      background: #1E68FF;
    }
    /deep/ .van-tab--active{
      color:#222;
      font-weight: bold;
    }
  }
  .list_box{
    padding:0 30rpx;
    .box{
      background: #fff;
      padding:30rpx;
      border-radius: 8rpx;
      margin-bottom:30rpx;
      .top{
        display: flex;
        justify-content: space-between;
        font-size:30rpx;
        .status{
          color:#999;
          &.on{
            color:#1E6AFF;
          }
          &.err{
            color:#e4393c;
          }
        }
      }
      .code{
        margin:20rpx 0;
      }
      .bottom{
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size:30rpx;
        span{
          font-size:34rpx;
          &.on{
            color:#1E6AFF;
          }
        }
      }
    }
  }
}
</style>
